import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import * as echarts from "echarts";
import { fitChartSize } from "@/utils/dataUtil";
import directives from "@/directive";
const app = createApp(App);
app.use(store).use(router);
app.config.globalProperties.$echarts = echarts;
app.config.globalProperties.$fitChartSize = fitChartSize;
app.use(directives);
app.mount("#app");
